<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="mobileOptimized" content="240" />
<meta name="format-detection" content="telephone=no" />
<title>Insert title here</title>
</head>
<body>
<ul class="" id="pf">

</ul>
<script type="text/javascript">
/*  var xmlhttp=new XMLHttpRequest();
xmlhttp.onreadystatechange=function(){
	if (xmlhttp.readyState==4 && xmlhttp.status==200){
		var k = JSON.parse(xmlhttp.responseText);
		deal(k);
	 }
}

xmlhttp.open("GET","http://121.14.118.84:9527/atj/skin.do?type=getskins&a=pflb&channelid=4&size=24&page=1&version=1341543718103",true);
xmlhttp.send();  */

jsonp({
	url:"",
	data:{}
	})

function jsonp(obj){
	

	 var  script = document.createElement("script");
	script.src=call(obj.url);
	document.head.appendChild(script);



	var index = 0;
	function call(url,data){
		var callback = "www"+(index++);
		/* 
		var func = "function "+callback+"(rs){deal(rs);}";
		window.eval(func); */
		window[callback] = function(rs){
			deal(rs);
			delete window[callback];
		}
		
		return url+"atj/skin.do?type=getskins&callback="+callback+"&a=pflb&channelid=4&size=24&page=1&version=1341543718103";
	} 
	function deal(k){
		var data = k.data;
		var ul = document.getElementById("pf");
		
		for(var i=0;i<data.length;i++){
			var temp = data[i];
			var li = document.createElement("li");
			if(i==1){
				li.className="ss1s";
			}else{
				li.className="sss";
			}
			li.innerHTML='<a  href="">  <figure>   <img src="http://121.14.118.84:83/'+temp.recommendPicUrl+'" src1="http://121.14.118.84:83/upload/2012/5/201251832514.jpg" alt="">  </figure>  <div class="details">   <h6>'+temp.zhName+'</h6>   <p>通用版本：3.0+</p>   <p>分类：游戏地带</p>   <p>作者：Zy</p>  </div></a>  <aside>   <button class="btnCommon" loginfo="adid=SAD0153&amp;ds=1" url="http://d1.ttpod.com/download/skin/pinyin/hei_an_you_xia.tsk?fsc=t_a2_12">下载</button>   <p>大小：417K</p>   <div class="star star-4"></div>  </aside>';
			ul.appendChild(li);
		}
		
	}
}



  
</script>
</body>
</html>